package com.chuangjiangx.member.manager.basic.web.response;

import com.chuangjiangx.member.manager.basic.web.request.Page;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 分页结果返回
 */
public class PageResponse extends Response {

    public void setPage(Page page) {
        putData("page", page);
    }

    @JsonIgnore
    public Page getPage() {
        return (Page) getData("page");
    }
}
